package com.lj.ljminsu.houseDetails.DTO;

import com.lj.ljminsu.houseDetails.bean.HouseBaseInfo;
import com.lj.ljminsu.houseDetails.bean.HouseRoomDesc;
import com.lj.ljminsu.houseDetails.bean.HouseService;
import com.lj.ljminsu.houseDetails.bean.Imgs;

import java.util.List;

//房源详情-页面包装类
public class HouseDetailDTO {
    private HouseBaseInfo houseBaseInfo;
    private HouseRoomDesc houseRoomDesc;
    private List<HouseService> houseServices;
    private List<Imgs> imgs;
    public HouseDetailDTO(HouseBaseInfo houseBaseInfo, HouseRoomDesc houseRoomDesc, List<HouseService> houseServices) {
        this.houseBaseInfo = houseBaseInfo;
        this.houseRoomDesc = houseRoomDesc;
        this.houseServices = houseServices;
    }

    public List<Imgs> getImgs() {
        return imgs;
    }

    public void setImgs(List<Imgs> imgs) {
        this.imgs = imgs;
    }

    @Override
    public String toString() {
        return "HouseDetailDTO{" +
                "houseBaseInfo=" + houseBaseInfo +
                ", houseRoomDesc=" + houseRoomDesc +
                ", houseServices=" + houseServices +
                '}';
    }

    public HouseBaseInfo getHouseBaseInfo() {
        return houseBaseInfo;
    }

    public void setHouseBaseInfo(HouseBaseInfo houseBaseInfo) {
        this.houseBaseInfo = houseBaseInfo;
    }

    public HouseRoomDesc getHouseRoomDesc() {
        return houseRoomDesc;
    }

    public void setHouseRoomDesc(HouseRoomDesc houseRoomDesc) {
        this.houseRoomDesc = houseRoomDesc;
    }

    public List<HouseService> getHouseServices() {
        return houseServices;
    }

    public void setHouseServices(List<HouseService> houseServices) {
        this.houseServices = houseServices;
    }

    public HouseDetailDTO() {
    }
}
